<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	
	<div class="countDown" data-endtime = "2017-9-5 15:58:2">
		<span class="d"></span>天
		<span class="h"></span>时
		<span class="m"></span>分
		<span class="s"></span>秒
	</div>
	<div id="test">
		
		<div class="countDown" data-endtime = "2017-9-5 15:53:58">
			<span class="d"></span>天
			<span class="h"></span>时
			<span class="m"></span>分
			<span class="s"></span>秒
		</div>
		<div class="countDown">
			<span class="d"></span>天
			<span class="h"></span>时
			<span class="m"></span>分
			<span class="s"></span>秒
		</div>
		
	</div>
</body>
<script src="countTimeDown.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	
	

	countDown(".countDown").countTime();
	/*window.onload = function(){
		$max(".countDown",document.getElementById("test")).countTime();
	}*/

</script>
</html>